package com.xx.jicheng.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xx.jicheng.entity.City;
import com.xx.jicheng.mapper.CityMapper;
import com.xx.jicheng.service.CityService;

@Service
public class CityServiceImpl implements CityService {
	
	@Autowired
	private CityMapper cityMapper;

	@Override
	public List<City> findByPid(int pid) {
		return cityMapper.findByPid(pid);
	}

}
